package com.szx.kaihei.util;

import com.szx.kaihei.pojo.User;

public class UserLocalStorageUtil {
    private static final ThreadLocal<User> LocalStorage = new ThreadLocal<>();
    public static void set(User user){
        LocalStorage.set( user);
    }
    public static User get(){
        return LocalStorage.get();
    }
}
